package com.danco.planner.sortings.sortby;

import java.util.Comparator;

import com.danco.planner.sortings.compareby.ICompareBySpeaker;

public class SortBySpeaker implements Comparator<ICompareBySpeaker> {


	@Override
	public int compare(ICompareBySpeaker o1, ICompareBySpeaker o2) {
		return o1.getSpeakerForCompare().getName().compareTo(o2.getSpeakerForCompare().getName());
	}

}
